package com.heu.blood.application.vo;

import com.heu.blood.BloodApplication;
import com.heu.blood.application.entity.BloodApplicationEntity;
import com.heu.blood.application.entity.BloodApplicationItemEntity;
import com.heu.blood.examine.entity.OperateExamineEntity;
import lombok.Data;

import java.util.List;

/**
 * @ClassName BloodApplicationVo
 * @Description 血液申请的VO
 * @Author lyj
 * @Date 2024/7/15 21:48
 */
@Data
public class BloodApplicationVo extends BloodApplicationEntity {
    /**
     * 申请单的条目，由于一个申请单中可能带有很多的Item
     */
    private List<BloodApplicationItemEntity> applicationItems;
//  专门用于申请单生命周期
    private List<BloodApplicationItemVo> applicationItemVos;
    /**
     * 申请单的审核条目，需要若干个人进行审核
     */
    private List<OperateExamineEntity> examineEntities;

    /**
     * 当前申请项id
     */
    private Long curApplicationItemId;

    /**
     * 当前重新申请的申请单是否可操作(true:可操作 false:不可操作)
     */
    private boolean if_operate;
}
